/**
 * 配置编译环境和线上环境之间的切换
 * 
 * baseUrl: 域名地址
 * routerMode: 路由模式
 * baseImgPath: 图片存放地址
 * 
 */
//var ip = 'http://192.168.1.6:8080/ajeasy/'; //小涛
// var ip = 'http://hnfrd.com.cn:8080/ajeasy/'; //服务器
//var ip = 'http://192.168.1.9:8080/ajeasy/'; //王帅

let baseUrl = ''; 
let routerMode = 'hash';
let baseImgPath;

if (process.env.NODE_ENV == 'development') {

	  baseUrl = 'http://192.168.1.6:8080/ajeasy';
  // baseUrl = 'http://192.168.1.9:8080/ajeasy';
  //  baseUrl = 'http://47.104.233.215:80/ajeasy';
    baseImgPath = 'http://47.104.233.215:80/img/';
  //   baseImgPath = 'http://192.168.1.6:8080/ajeasy/img/';
}else{
  // baseUrl = 'http://192.168.1.6:8080/ajeasy';
  baseUrl = 'http://47.104.233.215:80/ajeasy';
    baseImgPath = 'http://47.104.233.215:80/img/';
}
// baseImgPath:'http://47.104.233.215:80/img/CommodityImages'
export {
	baseUrl,
	routerMode,
	baseImgPath
}
